<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<script type="text/javascript">
function logout()
{
	location.href="logout.do";
}
</script>    
<div style="color:#FFFFFF; margin:-6px 0 -4px 275px; font-size:12px; font-family:'굴림'; ">     
 
<c:if test="${userId!=null}">
   <img src="./img/logo1.jpg" align="middle" width=240 height=74>
   <div style="margin:-22px 0 0 1000px;"><a href="#" onclick="logout()" style="color:white; text-decoration:none; padding:100px 0 0 0;">로그아웃</a></div>
</c:if>
<c:if test="${userId==null}">
  <img src="./img/logo1.jpg" width=240 height=74><a href="main.do" style="color:white; text-decoration:none; margin:-50px 0 0 700px;">로그인</a>
</c:if>
</div>

